package com.seafwg.service.impl;

import com.seafwg.dao.StudentMapper;
import com.seafwg.domain.Student;
import com.seafwg.service.StudentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @Author seafwg
 * @Date 2022/3/23 12:43 下午
 * @Version 1.0
 * @description xxx
 */
@Service
public class StudentServiceImpl implements StudentService {

    @Resource
    private StudentMapper studentMapper;

    // @Autowired
    // private StudentMapper studentMapper;


    @Override
    public Student findStudentById(Integer id) {
        return studentMapper.findStudentById(id);
    }
}
